<extend name="Public/base"/>
<block name="head">
	 <link href="__MOBILE__/css/list.css" rel="stylesheet">
	  <link href="__MOBILE__/css/article.css" rel="stylesheet">
</block>
<block name="body">

	 <!--<div class="container">-->
	 	<!--<div class="row index-menu">-->
	 		<!--<div class="col-xs-3 user">-->
	 			<!--<a href="{:U('CategoryGoods/index')}">-->
		 			<!--<i class=" glyphicon glyphicon-equalizer col-xs-12"></i>-->
		 			<!--<span class="col-xs-12">分类</span>-->
	 			<!--</a>-->
	 		<!--</div>-->
	 		<!--<div class="col-xs-3 topic">-->
	 			<!--<a href="{:U('Topic/index')}">-->
		 			<!--<i class=" glyphicon glyphicon-piggy-bank col-xs-12"></i>-->
		 			<!--<span class="col-xs-12">专题</span>-->
		 		<!--</a>-->
	 		<!--</div>-->
	 		<!--<div class="col-xs-3 mall">-->
	 			<!--<a href="{:U('PointsMall/index')}">-->
	 				<!--<i class="glyphicon glyphicon-gift col-xs-12"></i>-->
	 				<!--<span class="col-xs-12">积分</span>-->
	 			<!--</a>-->
	 		<!--</div>-->
	 		<!---->
	 		<!--<div class="col-xs-3 sign-in">-->
	 			<!--<a href="{:U('User/signIn')}">-->
	 			<!--<i class="glyphicon glyphicon-pencil col-xs-12"></i>-->
	 			<!--<span class="col-xs-12">签到</span>-->
	 			<!--</a>-->
	 		<!--</div>-->
	 	<!--</div>-->
	 <!--</div>-->
	  <if condition="$config['INDEX_CONTENT'] eq 'article'">
	 		<include file="Public:article_list" />
	 	<div class="container">
		 	<div class="row">
				<div class="col-sm-12 ">
					<button  class="btn btn-get-more"  data-url="{$next_page}">
						点击加载更多
					</button>
				</div>
			
	      </div>
	 	</div>
	 <elseif condition="$config['INDEX_CONTENT'] eq 'goods'"/>
	 	<div class="container">
		 	
		 	<notempty name="cate">
		 		<volist name="cate" id ="v">
		 			<div class="row cate">
		 				<h4>{$v.cate_name}<a href="{:U('Goods/cate',array('id'=>$v['cate_id']))}">更多&nbsp;>></a></h4>
		 				<include file="Public:index_goods_list" />
		 			</div>
		 		</volist>
		 	</notempty>
			 
		 </div>
	 </if>

</block>
<block name="script">
<script type="text/javascript" src="__JS__/jquery.lazyload.min.js"></script>
<script>
	 $(function(){

         heightlight_bottom_nav("{:U('index')}");

	});

</script>	 
</block>
